import java.io.File;

public class Demo3 {

    public static void main(String[] args) {
        File path = new File("./test.txt");
        System.out.println(path.exists());
        path.delete();
        System.out.println(path.exists());
    }
}
